import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
// import App from './1.组件间通信-父传子/App.jsx';
// import App from './2.组件间通信-子传父/App.jsx';
// import App from './3.组件间通信-实例/App.jsx';
// import App from './4.组件-插槽/App.jsx';
// import App from './5.组件-类似插槽 -children/App.jsx';
// import App from './6.react-redux-toolKit.组件-插槽 -props/App.jsx';
// import App from './7.组件间-类似作用于插槽/App.jsx';
// import App from './8.非父子通信-context/App.jsx';
// import App from './9.非父子通信-eventBus/App';
// import App from './10.setState详细使用/App';
// import App from './11.render函数优化/App';
// import App from './12.ref获取DOM和组件/App';
// import App from './12.ref获取DOM和组件/App-ref_聚焦文字输入框';
// import App from './12.ref获取DOM和组件/App--ref-滚动图片到视图';
import App from './12.ref获取DOM和组件/App-ref-播放和暂停';

// import App from './13.受控组件和非受控组件/App';
// import App from './14.高阶组件/App';
// import App from './15.Portal/App'

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <App />
);
